package com.project.system.domain.entity;

import com.project.common.domain.po.DbBase;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author : [chg]
 * @className : OrderLog
 * @description : []
 * @createTime : [2025/7/9 11:14]
 */
//@Entity
@Data
@Table(name = "tb_container_order_log")
@org.hibernate.annotations.Table(appliesTo = "tb_container_order_log", comment = "集装箱订单操作记录")
public class OrderLog extends DbBase {
    @Column(columnDefinition = "bigint DEFAULT NULL COMMENT '集装箱订单ID'")
    private Long containerOrderId;

    @Column(columnDefinition = "int DEFAULT 0 COMMENT '订单操作类型（1-待自提，2-已预约，3-配送中，4-已扣货，5-已完成）'")
    private Integer orderStatus; // 订单状态

    @Column(columnDefinition = "bigint DEFAULT NULL COMMENT '订单费用ID'")
    private Long orderCostId;

    @Column(columnDefinition = "bigint DEFAULT NULL COMMENT '订单收款ID'")
    private Long orderAmountId;

    @Column(columnDefinition = "varchar(1000) DEFAULT NULL  COMMENT '操作说明'")
    private String remark; // 操作说明

    @Column(columnDefinition = "int DEFAULT 0 COMMENT '是否删除（0-否，1-是）'")
    private Integer delFlag;


}
